<?php

namespace App\BO\OrderStatus\Events;

use App\Entities\OrderEntity;

class ABaseOrderEvent
{
    /**
     * @var OrderEntity
     */
    protected $order;

    public function __construct(OrderEntity $orderEntity)
    {
        $this->order = $orderEntity;
    }

    /**
     * @return OrderEntity
     */
    public function getOrder(): OrderEntity
    {
        return $this->order;
    }
}
